# @Time    : 2023/3/9 19:00
# @Author  : SunJian
# @Email   : 330160114@qq.com
# @File    : urls.py
# @Software: PyCharm
"""
文件说明：

"""
from django.urls import path
from apps.users import views

urlpatterns = [
    path('usernames/<username:username>/count/', views.UsernameCountView.as_view()),
    path('mobiles/<mobile:mobile>/count/', views.MobileCountView.as_view()),
    path('register/', views.RegisterView.as_view()),
    path('login/', views.LoginView.as_view()),
    path('logout/', views.LogoutView.as_view()),
    path('info/', views.UserInfoView.as_view()),
    path('emails/', views.EmailView.as_view()),
    path('emails/verification/', views.VerifyEmailView.as_view()),
    path('addresses/create/', views.CreateAddressView.as_view()),
    path('addresses/', views.AddressView.as_view()),
    path('addresses/<int:address_id>/', views.UpdateDestroyAddressView.as_view()),
    path('test_template/', views.TestTemplate.as_view()),
    path('browse_histories/', views.UserBrowseHistory.as_view())

]